let sounds = {
	bgm: 'bgm.mp3',
}
window.audio = {}; // window全局
for(let i in sounds){
	let a;
	a = document.createElement('audio');
	a.src = process.env.VUE_APP_BASE_URL + 'media/' + sounds[i];
	a.load();
	audio[i] = a;
}
audio.bgm.loop = 'loop';
document.addEventListener("WeixinJSBridgeReady", function () {
	audio.bgm.play();
}, false);